package models

type ResultCode int

const (
	SUCCESS ResultCode = iota
	FAIL
	CODE302 = 302
	CODE401 = 401
)

type JsonResult struct {
	ResultCode ResultCode  `json:"code"`
	Msg        string      `json:"msg"`
	Data       interface{} `json:"obj"`
}
